// samsting : this file is auto create.

#ifndef ALIYUN_Ons_OnsWarnListResponse_H_
#define ALIYUN_Ons_OnsWarnListResponse_H_

#include "core/acs_response.h"

namespace aliyun { namespace Ons {

class OnsWarnListResponse : public AcsResponse {
public:
  OnsWarnListResponse();

  class WarnViewDO {
    friend class OnsWarnListResponse;
  public:

    class YunContact {
      friend class OnsWarnListResponse;
      friend class WarnViewDO;
    public:
      const string& GetName(void) const;
      const string& GetValue(void) const;
      const string& GetType(void) const;
      const string& GetParams(void) const;
      const string& GetAri(void) const;
    private:
      string Name_;
      string Value_;
      string Type_;
      string Params_;
      string Ari_;
    }; // YunContact 

    const std::vector<YunContact>& Getcontacts(void) const;
    const string& GetAliyunPK(void) const;
    const string& GetConsumerID(void) const;
    const string& GetTopic(void) const;
    const string& GetThreshold(void) const;
    bool GetStatus(void) const;
  private:
    std::vector<YunContact> contacts_;
    string AliyunPK_;
    string ConsumerID_;
    string Topic_;
    string Threshold_;
    bool   Status_;
  }; // WarnViewDO 

  const std::vector<WarnViewDO>& GetData(void) const;
  const string& GetHelpUrl(void) const;

private:
  std::vector<WarnViewDO> Data_;
  string HelpUrl_;

protected:
  const char* BaseKey(void);
  void         UnmarshallerMap(std::map<string, string>& response_map);

};

} } // namespace aliyun { namespace Ons {

#endif // #ifndef ALIYUN_Ons_OnsWarnListResponse_H_

// end of file 
